Automattic\WooCommerce\Admin\API\Reports\TimeInterval C

Total Complexity 110
Dependencies 7
Dependents 19
Total lines 698
Lines of code 419
Logical lines of code 256
Comment lines 210
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
next_quarter_start()
B
43 18 50
get_timeframe_dates()
B
40 17 62
quarter()
A
54 13 21
intervals_between()
A
44 10 44
normalize_between_params()
A
52 8 25
rest_validate_between_date_arg()
S
56 5 19
rest_validate_between_numeric_arg()
S
56 5 19
intervals_missing()
S
57 5 16
next_month_start()
S
54 3 20
time_interval_id()
S
55 3 18
next_hour_start()
S
59 3 13
db_datetime_format()
S
55 2 17
next_year_start()
S
57 2 16
expected_intervals_on_page()
S
63 3 10
next_week_start()
S
58 2 14
next_day_start()
S
61 2 12
default_after()
S
61 2 12
default_before()
S
65 2 9
week_number()
S
66 2 8
iterate()
S
77 1 3
simple_week_number()
S
67 1 6
convert_local_datetime_to_gmt()
S
71 1 5